package com.yunjian.core.busi.mapper;

import com.yunjian.core.busi.model.Employee;
import com.yunjian.core.busi.model.EmployeeExample;
import com.yunjian.core.busi.vo.EmployeeVo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface EmployeeMapper {
    /**
	 * @mbggenerated
	 */
	int countByExample(EmployeeExample example);

	/**
	 * @mbggenerated
	 */
	int deleteByExample(EmployeeExample example);

	/**
	 * @mbggenerated
	 */
	int deleteByPrimaryKey(String userId);

	/**
	 * @mbggenerated
	 */
	int insert(Employee record);

	/**
	 * @mbggenerated
	 */
	int insertSelective(Employee record);

	/**
	 * @mbggenerated
	 */
	List<Employee> selectByExample(EmployeeExample example);

	/**
	 * @mbggenerated
	 */
	Employee selectByPrimaryKey(String userId);

	/**
	 * @mbggenerated
	 */
	int updateByExampleSelective(@Param("record") Employee record,
			@Param("example") EmployeeExample example);

	/**
	 * @mbggenerated
	 */
	int updateByExample(@Param("record") Employee record,
			@Param("example") EmployeeExample example);

	/**
	 * @mbggenerated
	 */
	int updateByPrimaryKeySelective(Employee record);

	/**
	 * @mbggenerated
	 */
	int updateByPrimaryKey(Employee record);

	/**
     * 
     * @param example
     * @return 
     */
    List<EmployeeVo> selectVo(EmployeeExample example);
    
    /**
     * 
     * @param userId
     * @return 
     */
    EmployeeVo selectVoByPrimaryKey(String userId);
}